import { defineStore } from 'pinia'

export const examTimer = defineStore('examTImer', {
    state: () => ({
        duration: 0
    }),
    getters: {},
    actions: {
        addTime() {
            this.duration++
        },
        initTIme(second) {
            this.duration = second
        }
    }
})
